package com.gaswell.sourcecodes.Processor;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;

/**
 * @ClassName MyBFPP
 * @Author xiaow
 * @DATE 2024/4/8 10:40
 * BeanFactoryPostProcessor用于对BeanFacotory中Bean信息进行赋值，类似一种强化吧
 **/

public class MyBFPP implements BeanFactoryPostProcessor {
    @Override
    public void postProcessBeanFactory(ConfigurableListableBeanFactory configurableListableBeanFactory) throws BeansException {
        System.out.println("我自己定义的BeanFactoryPostProcessor");
    }
}
